package com.jdk8.parameter_03;

public class Apple {

    private String color;
    private Double weight;
    private String size;
    private String kinds;

    public Apple(String color, Double weight, String size, String kinds) {
        this.color = color;
        this.weight = weight;
        this.size = size;
        this.kinds = kinds;
    }

    public Apple() {
    }

    public Double getWeight() {
        return weight;
    }

    public void setWeight(Double weight) {
        this.weight = weight;
    }

    public String getSize() {
        return size;
    }

    public void setSize(String size) {
        this.size = size;
    }

    public String getKinds() {
        return kinds;
    }

    public void setKinds(String kinds) {
        this.kinds = kinds;
    }

    public String getColor() {
        return color;
    }

    public void setColor(String color) {
        this.color = color;
    }

    @Override
    public String toString() {
        return "Apple{" +
                "color='" + color + '\'' +
                ", weight=" + weight +
                ", size='" + size + '\'' +
                ", kinds='" + kinds + '\'' +
                '}';
    }
}
